#title() 以首字母大写的方式显示每个单词,即将每个单词的首字母都改为大写
name = "ada lovelace"
print(name.title())


name = "Ada Lovelace"
#全部大写
print(name.upper())
#全部小写
print(name.lower())



#Python使用加号( + )来合并字符串。
first_name = "ada"
last_name = "lovelace"
full_name = first_name + " " + last_name
print(full_name)



first_name = "ada"
last_name = "lovelace"
full_name = first_name + " " + last_name
print("Hello, " + full_name.title() + "!")